tools/xenalyze: Allow automatic resizing of sample buffers
authorGeorge Dunlap <george.dunlap@citrix.com>
Mon, 8 Aug 2016 09:42:50 +0000 (10:42 +0100)
committerGeorge Dunlap <george.dunlap@citrix.com>
Tue, 9 Aug 2016 14:44:57 +0000 (15:44 +0100)
commit7f5c8075364776eb139bbd421ad443ae9e4465dc
treeb824e97680393bf4e20b4bd4c31588719537b168
parent280e8300b47ca92084bac987fedb145f6f559bf0
tools/xenalyze: Allow automatic resizing of sample buffers

Rather than have large fixed-size buffers, start with smaller buffers
and allow them to grow as needed (doubling each time), with a fairly
large maximum.  Allow this maximum to be set by a command-line
parameter.

Signed-off-by: George Dunlap <george.dunlap@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/xentrace/xenalyze.c